package com.scm.biz.dao;

import java.util.List;

import com.scm.biz.bean.Area;

public interface AreaDao  {
    int deleteByPrimaryKey(Integer areaId);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(Integer areaId);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);
    
    List<Area> selectAllProvince();
    
    List<Area> selectAreaByParentId(Integer parentId);

}